package br.great.beans;

import org.geonames.WikipediaArticle;
import br.great.classes.TexteRange;

/**
* PhotoMap
* Copyright (c) 2007-2008 STEAMER - LIG, All rights reserved.
*/

/**
 * @author Developpement of PhotoMap
 */
public class Wiki extends WikipediaArticle{

    // TABLE WIKI_OBJECT
    int ID_GEO_REFERENCED_OBJECT ;

    // TABLE PHOTO_SPATIALRELATIONS 
    int ID_MULTIMEDIA ;
    String RELATION_TYPE ;
    double DISTANCE;
    String URL_Image;
    
    /*  API WikipediaArticle
     * 
        int getElevation() 
        String getFeature() 
        String getLanguage() 
        double getLatitude() 
        double getLongitude() 
        int getPopulation() 
        String getSummary() 
        String getTitle() 
        String getWikipediaUrl() 
        void setElevation(int elevation) 
        void setFeature(String feature) 
        void setLanguage(String language) 
        void setLatitude(double latitude) 
        void setLongitude(double longitude) 
        void setPopulation(int population) 
        void setSummary(String summary) 
        void setTitle(String title) 
        void setWikipediaUrl(String wikipediaURL)  
     */    

    public int getID_GEO_REFERENCED_OBJECT() {
        return ID_GEO_REFERENCED_OBJECT;
    }

    public void setID_GEO_REFERENCED_OBJECT(int ID_GEO_REFERENCED_OBJECT) {
        this.ID_GEO_REFERENCED_OBJECT = ID_GEO_REFERENCED_OBJECT;
    }

    public int getID_MULTIMEDIA() {
        return ID_MULTIMEDIA;
    }

    public void setID_MULTIMEDIA(int ID_MULTIMEDIA) {
        this.ID_MULTIMEDIA = ID_MULTIMEDIA;
    }

    public String getRELATION_TYPE() {
        return RELATION_TYPE;
    }

    public void setRELATION_TYPE(String RELATION_TYPE) {
        this.RELATION_TYPE = RELATION_TYPE;
    }
    
    public double getDistance() {
        return DISTANCE;
    }

    public void setDistance(double DISTANCE) {
        this.DISTANCE = DISTANCE;
    }

    public String getURL_Image() {
        return URL_Image;
    }

    public void setURL_Image(String URL_Image) {
        this.URL_Image = URL_Image;
    }
    public String getTitle(){
        return TexteRange.tradeText(super.getTitle());
    }
}
